package com.crealth.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.crealth.model.KnowledgeCreditLoanModel;


public abstract interface KnowledgeCreditLoanMapper {
	
    public abstract void insertKnowledgeCreditLoan(KnowledgeCreditLoanModel creditKnowledge);
    
    public abstract List<KnowledgeCreditLoanModel> selectAllKnowledgeCreditLoan();
    
    public abstract List<KnowledgeCreditLoanModel> selectCityNameKnowledgeCreditLoan(@Param("cityName")String cityName);
    
    public abstract KnowledgeCreditLoanModel selectKnowledgeCreditLoanByName(
    		@Param("name")String name);
    
    public abstract Integer updateKnowledgeCreditLoanByID(KnowledgeCreditLoanModel creditKnowledge);
    
    public abstract Integer deleteCreditKnowledgeByID(
    		@Param("id")int id);
    
}
